import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity('edgroup')
export class Edgroup {
  @PrimaryGeneratedColumn('increment')
  id: number;

  @Column({ type: 'varchar', length: 255, default: '' })
  name: string;

  @Column({ type: 'varchar', length: 255, default: '' })
  photo: string;

  @Column({ type: 'boolean', default: false })
  deleted: boolean;
}
